﻿#设置debug项目名后缀
set(CMAKE_DEBUG_POSTFIX "_gd")

INCLUDE (${CMAKE_CURRENT_SOURCE_DIR}/Options.cmake)
INCLUDE (${CMAKE_CURRENT_SOURCE_DIR}/iOSBuild.cmake)

   if(G3_IOS_LIB)
      return()
   endif()
   
INCLUDE (${CMAKE_CURRENT_SOURCE_DIR}/GenerateMacroDefinitionsFile.cmake)
INCLUDE (${CMAKE_CURRENT_SOURCE_DIR}/Build.cmake)


include_directories(${CMAKE_CURRENT_SOURCE_DIR}/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/g3log)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)

#复制头文件到inchhvi
install(FILES ${HEADER_FILES} DESTINATION ${PROJECT_SOURCE_DIR}/3rdlib/include/g3log COMPONENT headers)

install(TARGETS ${G3LOG_LIBRARY} 
        RUNTIME DESTINATION ${PROJECT_BINARY_DIR}/bin
		ARCHIVE DESTINATION ${PROJECT_SOURCE_DIR}/3rdlib/lib)

